<%--
  Created by IntelliJ IDEA.
  User: Tang'ya'kang
  Date: 2023/5/8
  Time: 0:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>test1</title>
    <style>
        table{
            border: 1px solid pink;
        }
    </style>
</head>
<body>
<h1 align="center">九九乘法表</h1>
<table align="center">
    <%
        for(int i=1;i<=9;++i)
        {
            out.print("<tr>");
            for(int j=1;j<=i;++j) {
                out.print("<td>");
                out.print(i+"X"+j+"="+i*j+" ");
                out.print("</td>");
            }
            out.print("</tr>");
        }
    %>
</table>
</body>
</html>
